home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / TEX-UTIL / DVIPS_55 / dvips / src / h / paths < prev   
Text File  |  1994-05-06  |  2KB  |  89 lines

  1. /*
  2.  *   OUTPATH is where to send the output.  If you want a .ps file to
  3.  *   be created by default, set this to "".  If you want to automatically
  4.  *   invoke a pipe (as in lpr), make the first character an exclamation
  5.  *   point or a vertical bar, and the remainder the command line to
  6.  *   execute.
  7.  */
  8.  
  9. #define OUTPATH ""
  10. /*   (Actually OUTPATH will be overridden by an `o' line in config.ps.) */
  11. /*
  12.  *   Names of config and prologue files:
  13.  */
  14. #if defined MSDOS || defined OS2
  15. #define DVIPSRC "dvips.ini"
  16. #else
  17. #ifdef VMCMS  /* IBM: VM/CMS */
  18. #define DVIPSRC "dvips.profile"
  19. #else
  20. #ifdef MVSXA  /* IBM: MVS/XA */
  21. #define DVIPSRC "dvips.profile"
  22. #else
  23. #define DVIPSRC ".dvipsrc"
  24. #endif  /* IBM: VM/CMS */
  25. #endif
  26. #endif
  27.  
  28. #define HEADERFILE "tex.pro"
  29. #define CHEADERFILE "texc.pro"
  30. #define PSFONTHEADER "texps.pro"
  31. #define IFONTHEADER "finclude.pro"
  32. #define SPECIALHEADER "special.pro"
  33. #define COLORHEADER "color.pro"  /* IBM: color */
  34. #define CROPHEADER "crop.pro"
  35. #define PSMAPFILE "psfonts.map"
  36. #ifndef CONFIGFILE
  37. #define CONFIGFILE "config.ps"
  38. #endif
  39.  
  40. /* arguments to fopen */
  41. #define READ            "r"
  42.  
  43. /* directories are separated in the path by PATHSEP */
  44. /* DIRSEP is the char that separates directories from files */
  45. #ifdef ARCH
  46. #define READBIN         "rb"   
  47. #define PATHSEP         ',' /* use same syntax as VMS */
  48. #define DIRSEP          '.'
  49. #else
  50. #ifdef __THINK__
  51. #define READBIN         "rb"    /* Macintosh OS will use binary mode */
  52. #define PATHSEP         ',' /* use same syntax as VMS */
  53. #define DIRSEP          ':'
  54. #else
  55. #if defined MSDOS || defined OS2
  56. #define READBIN         "rb"    /* MSDOS and OS/2 must use binary mode */
  57. #define PATHSEP         ';'
  58. #define DIRSEP          '\\'
  59. #else
  60. #ifdef VMS
  61. #define READBIN         "rb"    /* VMS must use binary mode */
  62. #define PATHSEP         ','
  63. #define DIRSEP          ':'
  64. #else
  65. #ifdef VMCMS /* IBM: VM/CMS */
  66. #define READBIN         "rb" /* VMCMS must use binary mode */
  67. #define PATHSEP         ' '
  68. #define DIRSEP          ' '
  69. #else
  70. #ifdef MVSXA /* IBM: MVS/XA */
  71. #define READBIN         "rb" /* MVSXA must use binary mode */
  72. #define PATHSEP         ':'
  73. #define DIRSEP          '.'
  74. #else
  75. #define READBIN         "r"     /* UNIX doesn't care */
  76. #define PATHSEP         ':'
  77. #define DIRSEP          '/'
  78. #endif  /* IBM: VM/CMS */
  79. #endif
  80. #endif
  81. #endif
  82. #endif
  83. #endif
  84.  
  85. extern void error() ;
  86.  
  87. /* paths are all in the Makefile; by not supplying defaults, we force
  88.    the installer to set them up. */
  89.